package com.zbf.设计模式1.适配器模式.对象适配器;

/**
 * @author: LI-CI-GAO
 * 作者: licigao
 * 日期: 2021/8/23  11:12
 * 描述:
 */
public class TestDuixiAngAdapter implements TestDuiXiang {

    private TestSource testSource;

    public TestDuixiAngAdapter(TestSource testSource) {
        this.testSource = testSource;
    }

    @Override
    public void test1() {
        testSource.test1();
    }

    @Override
    public void test2() {

    }
}
